package com.boss.salary.service;

import com.boss.common.entity.PageDTO;
import com.boss.framework.dto.PaginationDTO;
import com.boss.framework.exception.AppRuntimeException;
import com.boss.salary.entity.PersonSalaryInfo;

public interface IPersonSalaryInfoService {

    /**
     * 分页查询 工资台账数据
     * @param paginationDTO
     * @return
     * @throws AppRuntimeException
     */
    PageDTO<PersonSalaryInfo> queryPersonSalaryInfoPage(PaginationDTO paginationDTO) throws AppRuntimeException;

    /**
     * 增加 工资台账数据
     * @param personSalaryInfo
     * @return
     */
    void savePersonSalaryInfo(PersonSalaryInfo personSalaryInfo);

    /**
     * 更新 工资台账数据
     * @param personSalaryInfo
     * @return
     */
    void updatePersonSalaryInfo(PersonSalaryInfo personSalaryInfo);

    /**
     * 根据id删除工资台账数据
     * @param id
     * @return
     */
    void deletePersonSalaryInfo(String id);
}
